package be.ipl.finito.daoimpl;




import javax.ejb.Stateless;

import be.ipl.finito.dao.JetonDao;
import be.ipl.finito.dao.PlateauDao;


import be.ipl.finito.domaine.Jeton;
import be.ipl.finito.domaine.Partie;
import be.ipl.finito.domaine.Plateau;


@SuppressWarnings("serial")
@Stateless
public class PlateauDaoImpl extends DaoImpl<Integer, Plateau> implements PlateauDao {

	@Override
	public Plateau chargerCases(Plateau plateau) {
		plateau = recharger(plateau.getId());
		plateau.getCases();
		
		return plateau;
	}

	@Override
	public Plateau chargerTout(Plateau plateau) {
		plateau = recharger(plateau.getId());
		plateau.getCases();
		
		return plateau;
	}
}
